Problem in dialog

Hello All,

I am developing a script which involves UI. I need to show some error message boxes. But the problem is after showing the message the execution stopped. Also after a sucessful execution the main UI closes automatically. How to avoid this?

 

I want my UI closed only when I press the default closing button

 


sakthiraj - Tue Oct 29 06:40:30 EDT 2013

Re: Problem in dialog
Tony_Goodman - Tue Oct 29 07:08:16 EDT 2013

I guess that you are using an ok button on your dialog. ok buttons close the dialog on completion.

You can use an apply button instead. These leave the dialog open after executing their callback.

See ok() and apply() perms in the help.

Re: Problem in dialog
llandale - Tue Oct 29 14:50:44 EDT 2013

Tony_Goodman - Tue Oct 29 07:08:16 EDT 2013

I guess that you are using an ok button on your dialog. ok buttons close the dialog on completion.

You can use an apply button instead. These leave the dialog open after executing their callback.

See ok() and apply() perms in the help.

Also, if the main dialog is "block"d then it disallows other interaction of DOORS.  When it is "show"n the you can see the dialog and still interact with other DOORS windows such as the module.

Re: Problem in dialog
pommCannelle - Thu Oct 31 10:06:31 EDT 2013

( or your code is followig a "show" perm ... post your code, i'm sure someone will help you o;) )